/*
* ==============================================================================
*  Name        : SIPExReaderNotifier.h
*  Part of     : SIPExSocketEngine
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2004-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef __MSIPEXREADERNOTIFIER_H
#define __MSIPEXREADERNOTIFIER_H

// CLASS DECLARATIONS
/**
* The socket reader notifier inteface.
* Notifies about events in reader.
*/
class MSIPExReaderNotifier
	{
	public:

        /**
        * Called when the message has read from the socket.
        * @param aBuffer Contains the readed buffer
        */
        virtual void MessageReceived( TPtrC8 aBuffer ) = 0;
        
        /**
        * Called if error occurs in reading from the socket.
        * @param aError The error code
        */        
        virtual void ErrorInReading( TInt aError ) = 0;
	};

#endif // __MSIPEXREADERNOTIFIER_H

// End of file
